home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / languages / ami_nuweb0.87c.lha / catalogs / nuweb.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-12  |  7.1 KB  |  245 lines

  1. #ifndef NUWEB_H
  2. #define NUWEB_H
  3.  
  4.  
  5. /****************************************************************************/
  6.  
  7.  
  8. /* This file was created automatically by CatComp.
  9.  * Do NOT edit by hand!
  10.  */
  11.  
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17.  
  18. /****************************************************************************/
  19.  
  20.  
  21. #define MSG_WARNING_11B 0
  22. #define MSG_WARNING_11B_STR "%s: I just ignored an unexpected argument.  "
  23.  
  24. #define MSG_USAGE_11B 1
  25. #define MSG_USAGE_11B_STR "Usage is: %s [-cnotv] file-name ...\n"
  26.  
  27. #define MSG_ERROR_11C 2
  28. #define MSG_ERROR_11C_STR "%s: I expected a file name.  "
  29.  
  30. #define MSG_VERBOSE_14B 3
  31. #define MSG_VERBOSE_14B_STR "I'm reading file %s\n"
  32.  
  33. #define MSG_WARNING_15A 4
  34. #define MSG_WARNING_15A_STR "%s: I just ignored an unexpected @ sequence (file %s, line %d)\n"
  35.  
  36. #define MSG_VERBOSE_17A 5
  37. #define MSG_VERBOSE_17A_STR "I'm writing file %s\n"
  38.  
  39. #define MSG_WARNING_17A 6
  40. #define MSG_WARNING_17A_STR "%s: I can't open file %s\n"
  41.  
  42. #define MSG_LATEX_20B 7
  43. #define MSG_LATEX_20B_STR "\\item This file is defined by scraps "
  44.  
  45. #define MSG_LATEX_20C 8
  46. #define MSG_LATEX_20C_STR "\\item This macro is defined by scraps "
  47.  
  48. #define MSG_LATEX_21A1 9
  49. #define MSG_LATEX_21A1_STR "\\item This macro is referenced in scraps "
  50.  
  51. #define MSG_LATEX_21A2 10
  52. #define MSG_LATEX_21A2_STR "\\item This macro is referenced in scrap "
  53.  
  54. #define MSG_LATEX_21A3 11
  55. #define MSG_LATEX_21A3_STR "\\item This macro is never referenced.\n"
  56.  
  57. #define MSG_WARNING_21A 12
  58. #define MSG_WARNING_21A_STR "%s: <%s> is never referenced.\n"
  59.  
  60. #define MSG_WARNING_23B 13
  61. #define MSG_WARNING_23B_STR "%s: scrap <%s> is never defined\n"
  62.  
  63. #define MSG_LATEX_25A1 14
  64. #define MSG_LATEX_25A1_STR "{\\footnotesize Defined by scraps "
  65.  
  66. #define MSG_LATEX_25A2 15
  67. #define MSG_LATEX_25A2_STR "{\\footnotesize Defined by scrap "
  68.  
  69. #define MSG_LATEX_25C1 16
  70. #define MSG_LATEX_25C1_STR "Referenced in scraps "
  71.  
  72. #define MSG_LATEX_25C2 17
  73. #define MSG_LATEX_25C2_STR "Referenced in scrap "
  74.  
  75. #define MSG_LATEX_25C3 18
  76. #define MSG_LATEX_25C3_STR "Not referenced."
  77.  
  78. #define MSG_HTML_31C 19
  79. #define MSG_HTML_31C_STR "This file is defined by "
  80.  
  81. #define MSG_HTML_31D 20
  82. #define MSG_HTML_31D_STR "This macro is defined by "
  83.  
  84. #define MSG_HTML_31E1 21
  85. #define MSG_HTML_31E1_STR "This macro is referenced by "
  86.  
  87. #define MSG_HTML_31E2 22
  88. #define MSG_HTML_31E2_STR "This macro is never referenced.\n"
  89.  
  90. #define MSG_HTML_32C1 23
  91. #define MSG_HTML_32C1_STR "scraps"
  92.  
  93. #define MSG_HTML_32C2 24
  94. #define MSG_HTML_32C2_STR "scrap"
  95.  
  96. #define MSG_HTML_35C 25
  97. #define MSG_HTML_35C_STR "Defined by "
  98.  
  99. #define MSG_HTML_35E1 26
  100. #define MSG_HTML_35E1_STR "Referenced in "
  101.  
  102. #define MSG_HTML_35E2 27
  103. #define MSG_HTML_35E2_STR "Not referenced.\n"
  104.  
  105. #define MSG_ERROR_38 28
  106. #define MSG_ERROR_38_STR "%s: I can't create %s for a temporary file\n"
  107.  
  108. #define MSG_ERROR_42A 29
  109. #define MSG_ERROR_42A_STR "%s: bad @ sequence (file %s, line %d)\n"
  110.  
  111. #define MSG_ERROR_42B1 30
  112. #define MSG_ERROR_42B1_STR "%s: include nesting too deep (file %s, line %d)\n"
  113.  
  114. #define MSG_ERROR_42B2 31
  115. #define MSG_ERROR_42B2_STR "%s: I can't open include file %s\n"
  116.  
  117. #define MSG_ERROR_43A 32
  118. #define MSG_ERROR_43A_STR "%s: unexpected characters after file name (file %s, line %d)\n"
  119.  
  120. #define MSG_ERROR_43C 33
  121. #define MSG_ERROR_43C_STR "%s: I couldn't open file %s\n"
  122.  
  123. #define MSG_WARNING_45C 34
  124. #define MSG_WARNING_45C_STR "%s: You'll need to rerun nuweb after running latex\n"
  125.  
  126. #define MSG_ERROR_47B 35
  127. #define MSG_ERROR_47B_STR "%s: unexpected EOF in scrap (file %s, line %d)\n"
  128.  
  129. #define MSG_ERROR_47C 36
  130. #define MSG_ERROR_47C_STR "%s: unexpected @%c in scrap (file %s, line %d)\n"
  131.  
  132. #define MSG_ERROR_50A 37
  133. #define MSG_ERROR_50A_STR "%s: I found an internal problem (1)\n"
  134.  
  135. #define MSG_ERROR_52C1 38
  136. #define MSG_ERROR_52C1_STR "%s: I discovered a recursive macro involving <%s>\n"
  137.  
  138. #define MSG_WARNING_52C2 39
  139. #define MSG_WARNING_52C2_STR "%s: The macro was never defined <%s>\n"
  140.  
  141. #define MSG_WARNING_56B 40
  142. #define MSG_WARNING_56B_STR "%s: ambiguous prefix @<%s...@> (file %s, line %d)\n"
  143.  
  144. #define MSG_ERROR_59A1 41
  145. #define MSG_ERROR_59A1_STR "%s: I expected a file name (file %s, line %d)\n"
  146.  
  147. #define MSG_ERROR_59A2 42
  148. #define MSG_ERROR_59A2_STR "%s: I expected @{ after file name (file %s, line %d)\n"
  149.  
  150. #define MSG_WARNING_59B 43
  151. #define MSG_WARNING_59B_STR "%s: unexpected per-file flag (file %s, line %d)\n"
  152.  
  153. #define MSG_ERROR_60A 44
  154. #define MSG_ERROR_60A_STR "%s: I expected a macro name (file %s, line %d)\n"
  155.  
  156. #define MSG_ERROR_60B 45
  157. #define MSG_ERROR_60B_STR "%s: unexpected @%c in macro name (file %s, line %d)\n"
  158.  
  159. #define MSG_ERROR_61A 46
  160. #define MSG_ERROR_61A_STR "%s: empty scrap name (file %s, line %d)\n"
  161.  
  162. #define MSG_ERROR_61B 47
  163. #define MSG_ERROR_61B_STR "%s: I expected @{ after macro name (file %s, line %d)\n"
  164.  
  165. #define MSG_ERROR_62A1 48
  166. #define MSG_ERROR_62A1_STR "%s: unexpected characters in macro name (file %s, line %d)\n"
  167.  
  168. #define MSG_ERROR_62A2 49
  169. #define MSG_ERROR_62A2_STR "%s: unexpected end of file (file %s, line %d)\n"
  170.  
  171.  
  172. /****************************************************************************/
  173.  
  174.  
  175. #ifdef STRINGARRAY
  176.  
  177. struct AppString
  178. {
  179.     LONG   as_ID;
  180.     STRPTR as_Str;
  181. };
  182.  
  183. struct AppString AppStrings[] =
  184. {
  185.     {MSG_WARNING_11B,MSG_WARNING_11B_STR},
  186.     {MSG_USAGE_11B,MSG_USAGE_11B_STR},
  187.     {MSG_ERROR_11C,MSG_ERROR_11C_STR},
  188.     {MSG_VERBOSE_14B,MSG_VERBOSE_14B_STR},
  189.     {MSG_WARNING_15A,MSG_WARNING_15A_STR},
  190.     {MSG_VERBOSE_17A,MSG_VERBOSE_17A_STR},
  191.     {MSG_WARNING_17A,MSG_WARNING_17A_STR},
  192.     {MSG_LATEX_20B,MSG_LATEX_20B_STR},
  193.     {MSG_LATEX_20C,MSG_LATEX_20C_STR},
  194.     {MSG_LATEX_21A1,MSG_LATEX_21A1_STR},
  195.     {MSG_LATEX_21A2,MSG_LATEX_21A2_STR},
  196.     {MSG_LATEX_21A3,MSG_LATEX_21A3_STR},
  197.     {MSG_WARNING_21A,MSG_WARNING_21A_STR},
  198.     {MSG_WARNING_23B,MSG_WARNING_23B_STR},
  199.     {MSG_LATEX_25A1,MSG_LATEX_25A1_STR},
  200.     {MSG_LATEX_25A2,MSG_LATEX_25A2_STR},
  201.     {MSG_LATEX_25C1,MSG_LATEX_25C1_STR},
  202.     {MSG_LATEX_25C2,MSG_LATEX_25C2_STR},
  203.     {MSG_LATEX_25C3,MSG_LATEX_25C3_STR},
  204.     {MSG_HTML_31C,MSG_HTML_31C_STR},
  205.     {MSG_HTML_31D,MSG_HTML_31D_STR},
  206.     {MSG_HTML_31E1,MSG_HTML_31E1_STR},
  207.     {MSG_HTML_31E2,MSG_HTML_31E2_STR},
  208.     {MSG_HTML_32C1,MSG_HTML_32C1_STR},
  209.     {MSG_HTML_32C2,MSG_HTML_32C2_STR},
  210.     {MSG_HTML_35C,MSG_HTML_35C_STR},
  211.     {MSG_HTML_35E1,MSG_HTML_35E1_STR},
  212.     {MSG_HTML_35E2,MSG_HTML_35E2_STR},
  213.     {MSG_ERROR_38,MSG_ERROR_38_STR},
  214.     {MSG_ERROR_42A,MSG_ERROR_42A_STR},
  215.     {MSG_ERROR_42B1,MSG_ERROR_42B1_STR},
  216.     {MSG_ERROR_42B2,MSG_ERROR_42B2_STR},
  217.     {MSG_ERROR_43A,MSG_ERROR_43A_STR},
  218.     {MSG_ERROR_43C,MSG_ERROR_43C_STR},
  219.     {MSG_WARNING_45C,MSG_WARNING_45C_STR},
  220.     {MSG_ERROR_47B,MSG_ERROR_47B_STR},
  221.     {MSG_ERROR_47C,MSG_ERROR_47C_STR},
  222.     {MSG_ERROR_50A,MSG_ERROR_50A_STR},
  223.     {MSG_ERROR_52C1,MSG_ERROR_52C1_STR},
  224.     {MSG_WARNING_52C2,MSG_WARNING_52C2_STR},
  225.     {MSG_WARNING_56B,MSG_WARNING_56B_STR},
  226.     {MSG_ERROR_59A1,MSG_ERROR_59A1_STR},
  227.     {MSG_ERROR_59A2,MSG_ERROR_59A2_STR},
  228.     {MSG_WARNING_59B,MSG_WARNING_59B_STR},
  229.     {MSG_ERROR_60A,MSG_ERROR_60A_STR},
  230.     {MSG_ERROR_60B,MSG_ERROR_60B_STR},
  231.     {MSG_ERROR_61A,MSG_ERROR_61A_STR},
  232.     {MSG_ERROR_61B,MSG_ERROR_61B_STR},
  233.     {MSG_ERROR_62A1,MSG_ERROR_62A1_STR},
  234.     {MSG_ERROR_62A2,MSG_ERROR_62A2_STR},
  235. };
  236.  
  237.  
  238. #endif /* STRINGARRAY */
  239.  
  240.  
  241. /****************************************************************************/
  242.  
  243.  
  244. #endif /* NUWEB_H */
  245.